﻿<%@ Page Language="C#" AutoEventWireup="false" MasterPageFile="~/App_MasterPages/layout.Master"
    CodeBehind="AdminCartBrowser.aspx.cs" Inherits="eStore.UI.AdminCartBrowserPage" %>

<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
    <portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
        <mp:CornerRounderTop ID="ctop1" runat="server" />
        <asp:Panel ID="pnlCart" runat="server" CssClass="art-Post-inner panelwrapper admin cart">
            <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
                <div class="modulecontent ">
                <div class="breadcrumbs">
                <asp:HyperLink ID="lnkStoreMenu" runat="server" />&nbsp;&gt;
                <asp:HyperLink ID="lnkCurrentPage" runat="server" CssClass="selectedcrumb" />
            </div>
                    <fieldset>
                        <legend>
                            <asp:Literal ID="litHeading" runat="server" />
                        </legend>
                        <mp:mojoGridView ID="grdCart" runat="server" AllowPaging="false" AllowSorting="false"
                            AutoGenerateColumns="false" CssClass="" DataKeyNames="CartGuid" EnableTheming="false">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <div class="settingrow">
                                            <%# Eval("Name") %>
                                            <%# Eval("Email") %>
                                            <%# Eval("CreatedFromIP") %>
                                        </div>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <%# string.Format(currencyCulture, "{0:c}", Convert.ToDecimal(Eval("OrderTotal"))) %>
                                        <a href='<%# Eval("CartGuid", detailUrlFormat)%>'>
                                            <%# Resources.eStoreResources.CartBrowserViewCartLink %></a>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <%# DateTimeHelper.Format(Convert.ToDateTime(Eval("Created")), timeZone, "g", timeOffset) %><br />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <%# DateTimeHelper.Format(Convert.ToDateTime(Eval("LastModified")), timeZone, "g", timeOffset) %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </mp:mojoGridView>
                        <div class="settingrow">
                            <br />
                            <asp:HyperLink ID="lnkAddNew" runat="server" />
                        </div>
                        <div class="modulepager">
                            <portal:mojoCutePager ID="pgrCart" runat="server" />
                        </div>
                        <div class="cleared">
                        </div>
                        <div class="settingrow">
                            <asp:CheckBox ID="chkOnlyAnonymous" runat="server" />
                            <asp:Button ID="btnDelete" runat="server" />
                            <asp:TextBox ID="txtDaysOld" runat="server" CssClass="smalltextbox" />
                            <asp:Literal ID="litDays" runat="server" />
                        </div>
                        <div class="cleared">
                        </div>
                    </fieldset>
                </div>
            </portal:mojoPanel>
            <div class="cleared">
            </div>
        </asp:Panel>
        <mp:CornerRounderBottom ID="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
